<div class="sidebar-block">                    <?php  if (count($categories)): ?>    <div class="sidebar">        <div class="no-padding">            <span class="title">Категории</span>        </div>        <div class="list-group list-categ">        <?php foreach ($categories as $_category): ?>            <a href="<?=Helper_Index::catalog_url($_category) ?>" class="list-group-item"><?=Model_Main::ucfirst_utf8($_category->nominative_form) ?></a>        <?php endforeach; ?>        </div>    </div>    <?php endif; ?></div>